/*
 * @Descripttion: 
 * @version: 
 * @Author: turingchang
 * @Date: 2020-12-23 14:31:20
 * @LastEditors: turingchang
 * @LastEditTime: 2020-12-23 14:32:13
 */


const rule = {
    name: [{
            required: true,
            message: '名称不能为空'
        },
        {
            type: 'string',
            message: '名称必须为字符串'
        },
        {
            Length: 50,
            message: '名称长度不能超过50个字符'
        },
    ],
};


module.exports = rule;